package com.chb.factoryMethod;

/**
 * @author chihb
 * @create-time 2024/10/23 8:49
 * @description
 */
public class AppleFactory implements Factory{
    @Override
    public Fruit create() {
        return new Apple();
    }
}
